
// 拍摄后马上可以测试的图片（川北医学院）
let testArr = []
for (let index = 222; index <= 250; index++) {
  const element = index > 99 ? `0${index}` : `00${index}`
  if([272,317].indexOf(index)==-1) testArr.push(element)
}
for (let index = 273; index <= 318; index++) {
  const element = index > 99 ? `0${index}` : `00${index}`
  if([272,317].indexOf(index)==-1) testArr.push(element)
}
const getAvatarUrl = (index) => {
  if(index){
    return require(`@/assets/cq7/GS__${index}.jpg`)
  }
}
let VRTree = [
  {
    id: '0',
    pid: null,
    title: "全部分类",
    type: 1,
    sceneList: [],
    thumbUrl: "",
    status: 1,
    children: [ 
      {
        id: '1',
        pid: '0',
        title: "1楼",
        type: 1,
        sceneList: testArr.map((item, index) => {
          return { 
            pid: '1',
            id:'a' + index,
            type: 2, 
            title: `测试场景${index + 1}`,
            description: '',
            status: 1,
            thumbUrl: getAvatarUrl(item), //封面图
            logo: 'http://cq7y.foxtest.net//static/images/logo/logo.png', //场景logo
            VRImg: getAvatarUrl(item), //VR图
            publishTime: '2023-12-07 18:26:55',
            author: 'lbw',
            bgsound: '', //背景音乐
            markerList: [],
            isFirst: true,
          }
        }),
        thumbUrl: "",
        status: 1,
        children: []
      }
    ]
  },
]

export {VRTree}